<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/jsp/manage/common/taglibs.jsp" %>
<div style="padding: 5px;font-family:微软雅黑;">
    <table class="tableForm" width="100%">
        <tr>
            <th>外部订单订单号:</th>
            <td>${trade.outOrderNo}</td>
        </tr>
        <tr>
            <th>交易号:</th>
            <td>${trade.tradeNo}</td>
        </tr>
        <tr>
            <th>标题:</th>
            <td>${trade.subject}</td>
        </tr>
        <tr>
            <th>交易状态:</th>
            <td>
                <c:forEach items="${tradeStatusList}" var="e">
                    <c:if test="${trade.tradeStatus == e.key}">
                        ${e.value}
                    </c:if>
                </c:forEach>
            </td>
        </tr>
        <tr>
            <th>代理商ID号:</th>
            <td>${trade.agentId}</td>
        </tr>
        <tr>
            <th>代理商商户名:</th>
            <td>${trade.agentName}</td>
        </tr>
        <tr>
            <th>商户账号:</th>
            <td>${trade.merchantAccountNo}</td>
        </tr>
        <tr>
            <th>商户ID号:</th>
            <td>${trade.merchantId}</td>
        </tr>
        <tr>
            <th>商户名称:</th>
            <td>${trade.merchantName}</td>
        </tr>
        <tr>
            <th>商品描述信息:</th>
            <td>${trade.body}</td>
        </tr>
        <tr>
            <th>微信的openid， 支付宝的购买人id:</th>
            <td>${trade.buyerId}</td>
        </tr>
        <tr>
            <th>支付渠道编码:</th>
            <td>${trade.channel}</td>
        </tr>
        <tr>
            <th>支付渠道交易号:</th>
            <td>${trade.outTradeNo}</td>
        </tr>
        <tr>
            <th>支付方式:</th>
            <td>${trade.payMethod}</td>
        </tr>
        <tr>
            <th>费率:</th>
            <td>${trade.rate}</td>
        </tr>
        <tr>
            <th>交易金额以分为单位:</th>
            <td>${trade.tradeAmount}</td>
        </tr>
        <tr>
            <th>交易收费金额以分为单位:</th>
            <td>${trade.chargeAmount}</td>
        </tr>
        <tr>
            <th>优惠金额:</th>
            <td>${trade.couponAmount}</td>
        </tr>
        <tr>
            <th>交易状态:</th>
            <td>${trade.description}</td>
        </tr>
        <tr>
            <th>终端设备:</th>
            <td>${trade.deviceType}</td>
        </tr>
        <tr>
            <th>失败原因:</th>
            <td>${trade.failReason}</td>
        </tr>
        <tr>
            <th width="25%">开始时间:</th>
            <td><fmt:formatDate value="${trade.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
        </tr>
        <tr>
            <th>结束时间:</th>
            <td><fmt:formatDate value="${trade.updateTime}" pattern="yyyy-MM-dd HH:mm:ss"/></td>
        </tr>
    </table>
</div>
